package ltd.newbee.mall.dao;

import ltd.newbee.mall.entity.SchoolMallPoints;
import org.apache.ibatis.annotations.Param;

public interface SchoolMallPointsMapper {

    /**
     * 查询积分
     */
    SchoolMallPoints findPoints(@Param("id")Integer id);

    /**
     * 修改用户积分
     */
    int setPoint(@Param("id")Integer id,@Param("points")Integer points);
}
